﻿using System;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Auditing;
using Volo.Abp.Domain.Entities;

namespace EcoSystem
{
    /// <summary>
    /// 取号流水信息表
    /// </summary>
    public class TakeNumber : Entity<Guid>, IHasCreationTime, IHasModificationTime
    {
        /// <summary>
        /// 取号业务编码
        /// </summary>
        [MaxLength(64)]
        public string Code { get; set; }

        /// <summary>
        /// 分组标识
        /// </summary>
        [MaxLength(128)]
        public string Group { get; set; }

        /// <summary>
        /// 当前流水号
        /// </summary>
        public int CurrentNumber { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime CreationTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime? LastModificationTime { get; set; }
    }
}
